
#include<stdio.h>
#include<math.h>
int main()
{
	double x,s;
	printf("Please input value of x:");
	scanf_s("%1f", &x);
	s = cos(x);
	printf("cos(%1f)=%1f\n", x, s);
}